//
// Created by 华为 on 2024/11/19.
//
#include "iostream"
using namespace std;

int main()
{
    system("chcp 65001");
    //sizeof 关键字的使用

    //short型
    cout << "short占字节：" << sizeof(short) << endl;

    //int整型
    cout << "int占字节：" << sizeof(int) << endl;

    //long型
    cout << "long占字节：" << sizeof(long) << endl;

    //longlong 长整型
    cout << "long long占字节：" << sizeof(long long) << endl;

    system("pause");
    return 0;
}